package com.robertux.leaderboard.beans;

public class UploadedFile {
	private String name;
	private String ext;
	private byte[] contents;
	
	public UploadedFile(String name, String ext) {
		super();
		this.name = name;
		this.ext = ext;
	}
	public UploadedFile(String name, String ext, byte[] contents) {
		super();
		this.name = name;
		this.ext = ext;
		this.contents = contents;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getExt() {
		return ext;
	}
	public void setExt(String ext) {
		this.ext = ext;
	}
	public byte[] getContents() {
		return contents;
	}
	public void setContents(byte[] contents) {
		this.contents = contents;
	}
	@Override
	public String toString() {
		return "UploadedFile [name=" + name + ", ext=" + ext + "]";
	}
}
